
package com.android.finaltracer.servercall;

import java.util.List;
import java.util.Map;

import android.os.RemoteException;

public interface RemoteCall {
    public final static String ACTION_UPDATE_GPS = "updateGPS";
    public final static String ACTION_GET_GPS = "getGPS";
    public final static String ACTION_HEARTBEAT = "heartbeat";

    public <T> List<T> execute(String action, Map<String, Object> req,
            Class<T> resultClass) throws RemoteException;
}
